package org.sang.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class WeekReport {
    public void setUserId(Long userId) {
		this.userId = userId;
	}

    private Integer id;

    private Long userId;

    private String author;

    private Date date;

    private String content;

    private String project;

    private Float workDay;

    private String remark;


    public Integer getId() {
        return id;
    }

    public Long getUserId() {
        return userId;
    }

    public String getAuthor() {
        return author;
    }

    @DateTimeFormat(pattern="yyyy-MM-dd")  
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")  
    public Date getDate() {
        return date;
    }

    public String getContent() {
        return content;
    }

    public String getProject() {
        return project;
    }

    public Float getWorkDay() {
        return workDay;
    }

	public String getRemark() {
		return remark;
	}

    public void setAuthor(String author) {
        this.author = author;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public void setProject(String project) {
        this.project = project;
    }

    public void setWorkDay(Float workDay) {
        this.workDay = workDay;
    }

    public void setRemark(String remark) {
		this.remark = remark;
	}
}